#{extends 'content.html' /}
#{set title: '修改个人信息' /}
#{set userIn :'active' /}       
#{set user_name : usr.name /}
#{set user_img : usr.avatar/}
#{set user_post_cnt : usr.postCnt/}
#{set user_followers_cnt : usr.followersCnt/}
#{set user_following_cnt : usr.followingCnt/}
<br>
<h2>修改个人信息</h2>
<hr>
<form class="form-horizontal" action="@@{UserInfoSet.setUserInfo}" method="post">
    <fieldset class="container">
        <div class="control-group">
            <div class="controls">
				#{if flash.error}
                <p style="color:#c00">
				${flash.error}
                </p>
				#{/if}
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">用户名</label>
            <div class="controls">
                <input type="text" class="input-xlarge" name="name">
                <p class="help-block">字母，数字，汉字皆可</p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">密码</label>
            <div class="controls">
                <input type="password" class="input-xlarge" name="password">
                <p class="help-block">随便怎么输</p>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">再次输入密码</label>
            <div class="controls">
                <input type="password" class="input-xlarge" name="repassword">
                <p class="help-block">请与上面的密码一致</p>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <button type="submit" class="btn">保存</button>
            </div>
        </div>
    </fieldset>
</form>
